package gugu.services;

import java.util.List;

import gugu.domain.Question;
import gugu.domain.Survey;
import gugu.domain.User;

public interface SurveyService {
	
	public void createSurvey(Survey survey);
	
	public void disableSurvey(Survey survey);
	
	public void addSurveyQuestion(Survey survey,Question... question);
	
	public void removeSurveyQuestion(Survey survey,Question... question);
	
	public void removeSurveyQuestion(Survey survey);
	
	public void updateSurvey(Survey survey);
	
	public Survey findSurvey(String id);
	
	public List<Survey> findSurvey(User owner);
	
	public List<Question> findQuestions(Survey survey);
}
